package com.top10.service.impl;

import com.top10.entity.OrderDetailed;
import com.top10.entity.vo.UserCartGoodsVo;
import com.top10.mapper.OrderDetailedMapper;
import com.top10.service.IOrderDetailedService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author su
 * @since 2018-10-05
 */
@Service
public class OrderDetailedServiceImpl extends ServiceImpl<OrderDetailedMapper, OrderDetailed> implements IOrderDetailedService {

	@Autowired
	private OrderDetailedMapper orderDetailedMapper;

	@Override
	public UserCartGoodsVo selectGoods(Integer id){
	  return 	orderDetailedMapper.selectGoods(id);
	}
	@Override
	public Integer updateone(String orderid){
		return orderDetailedMapper.updateone(orderid);
	}
	@Override
	public List<String> selectOrderUuid(String goodsname){
		return orderDetailedMapper.selectOrderUuid(goodsname);
	}
}
